package com.smart.manager.member.entities.bodys;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.member.entities.enums.MemberLevel;
import com.smart.manager.member.entities.views.MemberView;
import com.smart.manager.product.entities.enums.PigStatus;
import com.smart.manager.product.entities.views.BasicPigstyView;
import com.smart.manager.product.entities.views.BasicRfidView;
import com.smart.manager.product.entities.views.PigBreedView;
import com.smart.manager.system.entities.enums.Sex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * @author leo
 * @date 2023/09/22
 */
public class RMemberMaterialPig {
    @EqualsAndHashCode(callSuper = true)
    @Data
    @ApiModel("RMemberMaterialPig1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty("猪仔代码")
        private String code;

        @ApiModelProperty("猪仔名称")
        private String name;

        @ApiModelProperty("耳标MAC")
        private String rfid;

        @ApiModelProperty("玩家手机号")
        private String memberPhone;

        @ApiModelProperty("所属猪圈")
        private String pigsty;

        @ApiModelProperty("猪仔档案")
        private String breed;

        @ApiModelProperty("猪仔状态")
        private PigStatus status;
    }

}
